package AbstractFactory;

public class ConcreteFactory2 extends AbstractFactory{
    @Override
    public Fruit createFruit() {
        return new Banana();
    }

    @Override
    public Vegetable createVegetables() {
        return new Tomato();
    }
}
